const fs = require('fs')
module.exports.getFileJsonData = (filePath)=>{
   return new Promise((resolve,reject)=>{
        fs.readFile(filePath,(error,res)=>{
            if(error){
                reject(error)
            }else{
                resolve(res)
            }
        })
    })
}

